const router = require('koa-router')({prefix: '/package'});
const controller = require('controller/package.js');

/**
 * @api {get} /package/list 套餐列表
 * @apiVersion 1.0.0
 * @apiName list
 * @apiGroup 套餐模块
 * @apiHeader {String} Authorization 用户授权token
 * @apiSampleRequest /package/list
 * @apiSuccessExample {json} 请求成功：
 * {}
 */
router.get('/list', controller.list);

module.exports = router;
